<?php
	include('../../config/mind.php');
	include('../../'.$_MIND['framework']);
	include('../../'.$_MIND['header']);
?><?php
	if($_POST)
	{
		$l= $_MIND['fw']->getModule($_POST['module']);
		$f= strtolower($_MIND['rootDir'].$_MIND['moduleDir'].'/'.$l->name.'/data/'.$l->configPage);
		if(file_exists($f))
		{
			$c= @file_get_contents($f);
			echo $c;
		}else{
				?>
					<br/>
					The selected module has no advanced options.<br/><br/>
					<i>theWebMind 2.0</i> is about to generate a version of your project into YOUR folder.<br/>
					Press <b>Finish</b> to close this wizard and load this feature.
				<?php
			 }
	}
?>